/************************************************
 * Author       :   XXY
 * Blog         :   https://www.cnblogs.com/jzyl
 * Gitee        :   https://gitee.com/xiaobaichong
 * Email        :   1047185209@QQ.com
 * FileName     :   EnumType.cs
 * CreateData   :   2023/4/29 16:18:45
 * UnityVersion :   2020.3.33f1c2
 * Description  :   类型枚举
************************************************/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace Main
{
    public enum EnumObject
    {
        None,           // 空对象
        EditorObject,   // 编辑器对象
        PrefabObject,   // 预制件对象
        UnityObject     // 游戏对象(包括一般资源对象)
    }

    public enum EnumValue
    {
        [EnumValueType(TypeFullName = "System.Int32")] Int,                             // 整形
        [EnumValueType(TypeFullName = "System.Boolean")] Bool,                          // true false
        [EnumValueType(TypeFullName = "System.Single")] Float,                          // 浮点数
        [EnumValueType(TypeFullName = "System.Char")] Char,                             // 字符
        [EnumValueType(TypeFullName = "System.String")] String,                         // 字符串
        [EnumValueType(TypeFullName = "UnityEngine.Vector2")] Vector2,                  // 二维向量
        [EnumValueType(TypeFullName = "UnityEngine.Vector3")] Vector3,                  // 三维向量
        [EnumValueType(TypeFullName = "UnityEngine.Vector4")] Vector4,                  // 四维向量
        [EnumValueType(TypeFullName = "UnityEngine.Color")] Color,                      // 颜色
        [EnumValueType(TypeFullName = "UnityEngine.Gradient")] Gradient,                // 渐变
        [EnumValueType(TypeFullName = "UnityEngine.AnimationCurve")] AnimationCurve,    // 动画曲线
    }
}